\hypertarget{classpg_game_app}{\section{pg\-Game\-App Class Reference}
\label{classpg_game_app}\index{pg\-Game\-App@{pg\-Game\-App}}
}


{\ttfamily \#include $<$Pale\-Gem.\-h$>$}

Inheritance diagram for pg\-Game\-App\-:\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[height=2.000000cm]{classpg_game_app}
\end{center}
\end{figure}
\subsection*{Public Member Functions}
\begin{DoxyCompactItemize}
\item 
H\-R\-E\-S\-U\-L\-T \hyperlink{classpg_game_app_ad726289a0cbd24f7a235b32a039243bb}{pg\-Init} (H\-I\-N\-S\-T\-A\-N\-C\-E h\-Instance, int cmd\-Show, L\-P\-C\-W\-S\-T\-R lp\-Game\-Title)
\item 
H\-R\-E\-S\-U\-L\-T \hyperlink{classpg_game_app_aa2f6b5f7ad07ba942ec903c80b53b177}{pg\-Exit} ()
\item 
void \hyperlink{classpg_game_app_a993e2889625c8e208ab4e781214a1356}{pg\-Do\-Message\-Loop} ()
\item 
void \hyperlink{classpg_game_app_ae419d74a227c8454614c5d270e5c8457}{On\-Event} (\hyperlink{struct_i_event}{I\-Event} $\ast$e\-Event)
\begin{DoxyCompactList}\small\item\em Called by the event manager. \end{DoxyCompactList}\item 
void \hyperlink{classpg_game_app_a00234f0dbb78971fd9bbecd4c78dbd0d}{Handle\-Exception} (\hyperlink{_i_game_app_8h_a11415b43ebb41a1fc4aa64954609c347}{P\-G\-\_\-\-E\-R\-R\-O\-R} error)
\item 
void \hyperlink{classpg_game_app_a8aa9d8b27e4db0d2e21b628314fa02b4}{Handle\-Exception\-Custom} (const char $\ast$formatted\-Message, int return\-Code,...)
\item 
bool \hyperlink{classpg_game_app_a285d25b9ea33509fbdfa453a668a505b}{pg\-Check\-For\-Multiple\-Instances} (L\-P\-C\-W\-S\-T\-R lp\-Game\-Title)
\item 
bool \hyperlink{classpg_game_app_ad525bd35af01de7c670283938dc96a92}{pg\-Check\-Hard\-Disk\-Space} (const D\-W\-O\-R\-D\-L\-O\-N\-G space\-Needed)
\item 
bool \hyperlink{classpg_game_app_a204a09efa24c10cd06efea283edc0fea}{pg\-Check\-R\-A\-M} (const D\-W\-O\-R\-D\-L\-O\-N\-G space\-Needed)
\item 
bool \hyperlink{classpg_game_app_aae3b69ea176264fc68470c208c20040e}{pg\-Check\-Avail\-R\-A\-M} (const D\-W\-O\-R\-D\-L\-O\-N\-G space\-Needed)
\end{DoxyCompactItemize}
\subsection*{Private Member Functions}
\begin{DoxyCompactItemize}
\item 
void \hyperlink{classpg_game_app_a9131d428bb57a4e5f8d6cd66b1a740e1}{Pre\-Init} ()
\item 
H\-R\-E\-S\-U\-L\-T \hyperlink{classpg_game_app_ad58330dabebf21ffb461ac0b91da1b9e}{Create\-Game\-Window} (H\-I\-N\-S\-T\-A\-N\-C\-E h\-Instance, int cmd\-Show)
\end{DoxyCompactItemize}
\subsection*{Additional Inherited Members}


\subsection{Member Function Documentation}
\hypertarget{classpg_game_app_ad58330dabebf21ffb461ac0b91da1b9e}{\index{pg\-Game\-App@{pg\-Game\-App}!Create\-Game\-Window@{Create\-Game\-Window}}
\index{Create\-Game\-Window@{Create\-Game\-Window}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{Create\-Game\-Window}]{\setlength{\rightskip}{0pt plus 5cm}H\-R\-E\-S\-U\-L\-T pg\-Game\-App\-::\-Create\-Game\-Window (
\begin{DoxyParamCaption}
\item[{H\-I\-N\-S\-T\-A\-N\-C\-E}]{h\-Instance, }
\item[{int}]{cmd\-Show}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_game_app_ad58330dabebf21ffb461ac0b91da1b9e}
\hypertarget{classpg_game_app_a00234f0dbb78971fd9bbecd4c78dbd0d}{\index{pg\-Game\-App@{pg\-Game\-App}!Handle\-Exception@{Handle\-Exception}}
\index{Handle\-Exception@{Handle\-Exception}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{Handle\-Exception}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Game\-App\-::\-Handle\-Exception (
\begin{DoxyParamCaption}
\item[{{\bf P\-G\-\_\-\-E\-R\-R\-O\-R}}]{error}
\end{DoxyParamCaption}
)}}\label{classpg_game_app_a00234f0dbb78971fd9bbecd4c78dbd0d}
\hypertarget{classpg_game_app_a8aa9d8b27e4db0d2e21b628314fa02b4}{\index{pg\-Game\-App@{pg\-Game\-App}!Handle\-Exception\-Custom@{Handle\-Exception\-Custom}}
\index{Handle\-Exception\-Custom@{Handle\-Exception\-Custom}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{Handle\-Exception\-Custom}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Game\-App\-::\-Handle\-Exception\-Custom (
\begin{DoxyParamCaption}
\item[{const char $\ast$}]{formatted\-Message, }
\item[{int}]{return\-Code, }
\item[{}]{...}
\end{DoxyParamCaption}
)}}\label{classpg_game_app_a8aa9d8b27e4db0d2e21b628314fa02b4}
\hypertarget{classpg_game_app_ae419d74a227c8454614c5d270e5c8457}{\index{pg\-Game\-App@{pg\-Game\-App}!On\-Event@{On\-Event}}
\index{On\-Event@{On\-Event}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{On\-Event}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Game\-App\-::\-On\-Event (
\begin{DoxyParamCaption}
\item[{{\bf I\-Event} $\ast$}]{e\-Event}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_ae419d74a227c8454614c5d270e5c8457}


Called by the event manager. 


\begin{DoxyParams}{Parameters}
{\em e\-Event} & Passed by the event manager. \\
\hline
\end{DoxyParams}
\begin{DoxySeeAlso}{See Also}
\hyperlink{struct_i_event}{I\-Event} 
\end{DoxySeeAlso}


Implements \hyperlink{class_i_event_listener_a40210b0cc287ec611c2e05eebb8964aa}{I\-Event\-Listener}.

\hypertarget{classpg_game_app_aae3b69ea176264fc68470c208c20040e}{\index{pg\-Game\-App@{pg\-Game\-App}!pg\-Check\-Avail\-R\-A\-M@{pg\-Check\-Avail\-R\-A\-M}}
\index{pg\-Check\-Avail\-R\-A\-M@{pg\-Check\-Avail\-R\-A\-M}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{pg\-Check\-Avail\-R\-A\-M}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Game\-App\-::pg\-Check\-Avail\-R\-A\-M (
\begin{DoxyParamCaption}
\item[{const D\-W\-O\-R\-D\-L\-O\-N\-G}]{space\-Needed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_aae3b69ea176264fc68470c208c20040e}


Implements \hyperlink{class_i_game_app_a06997a52ea001520a0f98502cf079281}{I\-Game\-App}.

\hypertarget{classpg_game_app_a285d25b9ea33509fbdfa453a668a505b}{\index{pg\-Game\-App@{pg\-Game\-App}!pg\-Check\-For\-Multiple\-Instances@{pg\-Check\-For\-Multiple\-Instances}}
\index{pg\-Check\-For\-Multiple\-Instances@{pg\-Check\-For\-Multiple\-Instances}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{pg\-Check\-For\-Multiple\-Instances}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Game\-App\-::pg\-Check\-For\-Multiple\-Instances (
\begin{DoxyParamCaption}
\item[{L\-P\-C\-W\-S\-T\-R}]{lp\-Game\-Title}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_a285d25b9ea33509fbdfa453a668a505b}


Implements \hyperlink{class_i_game_app_a72eda84ddba282ba040fbfb0d13e2c22}{I\-Game\-App}.

\hypertarget{classpg_game_app_ad525bd35af01de7c670283938dc96a92}{\index{pg\-Game\-App@{pg\-Game\-App}!pg\-Check\-Hard\-Disk\-Space@{pg\-Check\-Hard\-Disk\-Space}}
\index{pg\-Check\-Hard\-Disk\-Space@{pg\-Check\-Hard\-Disk\-Space}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{pg\-Check\-Hard\-Disk\-Space}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Game\-App\-::pg\-Check\-Hard\-Disk\-Space (
\begin{DoxyParamCaption}
\item[{const D\-W\-O\-R\-D\-L\-O\-N\-G}]{space\-Needed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_ad525bd35af01de7c670283938dc96a92}
{\itshape unsigned}/ \-\_\-int64 const needed\-Clusters = space\-Needed / (diskfree.\-sectors\-\_\-per\-\_\-cluster $\ast$ diskfree.\-bytes\-\_\-per\-\_\-sector); 

Implements \hyperlink{class_i_game_app_a0eb45131a201f89ca477431bc23751f4}{I\-Game\-App}.

\hypertarget{classpg_game_app_a204a09efa24c10cd06efea283edc0fea}{\index{pg\-Game\-App@{pg\-Game\-App}!pg\-Check\-R\-A\-M@{pg\-Check\-R\-A\-M}}
\index{pg\-Check\-R\-A\-M@{pg\-Check\-R\-A\-M}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{pg\-Check\-R\-A\-M}]{\setlength{\rightskip}{0pt plus 5cm}bool pg\-Game\-App\-::pg\-Check\-R\-A\-M (
\begin{DoxyParamCaption}
\item[{const D\-W\-O\-R\-D\-L\-O\-N\-G}]{space\-Needed}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_a204a09efa24c10cd06efea283edc0fea}


Implements \hyperlink{class_i_game_app_abfc5ddcaef238b97a522992340194372}{I\-Game\-App}.

\hypertarget{classpg_game_app_a993e2889625c8e208ab4e781214a1356}{\index{pg\-Game\-App@{pg\-Game\-App}!pg\-Do\-Message\-Loop@{pg\-Do\-Message\-Loop}}
\index{pg\-Do\-Message\-Loop@{pg\-Do\-Message\-Loop}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{pg\-Do\-Message\-Loop}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Game\-App\-::pg\-Do\-Message\-Loop (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_a993e2889625c8e208ab4e781214a1356}


Implements \hyperlink{class_i_game_app_a67a1982022dc8aa00b39ad3e07389419}{I\-Game\-App}.

\hypertarget{classpg_game_app_aa2f6b5f7ad07ba942ec903c80b53b177}{\index{pg\-Game\-App@{pg\-Game\-App}!pg\-Exit@{pg\-Exit}}
\index{pg\-Exit@{pg\-Exit}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{pg\-Exit}]{\setlength{\rightskip}{0pt plus 5cm}H\-R\-E\-S\-U\-L\-T pg\-Game\-App\-::pg\-Exit (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_aa2f6b5f7ad07ba942ec903c80b53b177}


Implements \hyperlink{class_i_game_app_ac12041193bb9cb3c899183e117c9729d}{I\-Game\-App}.

\hypertarget{classpg_game_app_ad726289a0cbd24f7a235b32a039243bb}{\index{pg\-Game\-App@{pg\-Game\-App}!pg\-Init@{pg\-Init}}
\index{pg\-Init@{pg\-Init}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{pg\-Init}]{\setlength{\rightskip}{0pt plus 5cm}H\-R\-E\-S\-U\-L\-T pg\-Game\-App\-::pg\-Init (
\begin{DoxyParamCaption}
\item[{H\-I\-N\-S\-T\-A\-N\-C\-E}]{h\-Instance, }
\item[{int}]{cmd\-Show, }
\item[{L\-P\-C\-W\-S\-T\-R}]{lp\-Game\-Title}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [virtual]}}}\label{classpg_game_app_ad726289a0cbd24f7a235b32a039243bb}


Implements \hyperlink{class_i_game_app_a55e8eab71ff254c22e2175fb9261c0e3}{I\-Game\-App}.

\hypertarget{classpg_game_app_a9131d428bb57a4e5f8d6cd66b1a740e1}{\index{pg\-Game\-App@{pg\-Game\-App}!Pre\-Init@{Pre\-Init}}
\index{Pre\-Init@{Pre\-Init}!pgGameApp@{pg\-Game\-App}}
\subsubsection[{Pre\-Init}]{\setlength{\rightskip}{0pt plus 5cm}void pg\-Game\-App\-::\-Pre\-Init (
\begin{DoxyParamCaption}
{}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [private]}}}\label{classpg_game_app_a9131d428bb57a4e5f8d6cd66b1a740e1}


The documentation for this class was generated from the following files\-:\begin{DoxyCompactItemize}
\item 
Inc/\hyperlink{_pale_gem_8h}{Pale\-Gem.\-h}\item 
Source/\hyperlink{_pale_gem_8cpp}{Pale\-Gem.\-cpp}\end{DoxyCompactItemize}
